package org.aaa.exp02;

import lombok.extern.slf4j.Slf4j;

/**
 * @author Richard Wang
 * @date 2025/6/29 23:08
 */
@Slf4j(topic = "c.Test1")
public class Test1 {
    public static void main(String[] args) {
        //给线程命名方法2
        Thread t = new Thread("t1") {
            @Override
            public void run() {
                log.debug("running");
            }
        };
        //给线程命名方法1
//        t.setName("t1");
        t.start();

        log.debug("running");

    }
}
